<?php

use App\Models\Admin\Admins;
use Illuminate\Database\Seeder;

class AdminsSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Admins::firstOrCreate(['account' => 'admin'], [
            'account' => 'admin',
            'password' => sha1(123456), // password
            'role' => "超级管理员",
        ]);
    }
}
